package ycl.common.properties;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 腾讯地图
 *
 * @author YCL
 * @date 2021-09-08 23:35:19
 */
@Data
@Component
@ConfigurationProperties(prefix = "tencent.map")
public class TencentMapProperties {

	@Schema(description = "请求前缀")
	private String prefixUrl;

	@Schema(description = "密钥")
	private String key;

	@Schema(description = "(逆)地址解析 --")
	private String addressResolve;

	@Schema(description = "地点搜索 --")
	private String placeSearch;

	@Schema(description = "地点搜索推荐 --")
	private String placeSearchExplore;

	@Schema(description = "根据id地址搜索 --")
	private String placeSearchDetail;

	@Schema(description = "关键词搜索 --")
	private String keywordSuggestion;

	@Schema(description = "所有行政规划")
	private String districtList;

	@Schema(description = "子级行政规划")
	private String districtChildren;

	@Schema(description = "关键词行政规划")
	private String districtSearch;

	@Schema(description = "驾车")
	private String driver;

	@Schema(description = "公交")
	private String transit;

	@Schema(description = "步行")
	private String walk;

	@Schema(description = "自行车")
	private String bicycle;

	@Schema(description = "距离矩阵")
	private String distanceMatrix;

//	@Schema(description = "货车(未向个人开发者开放)")
//	private String truck;
//
//	@Schema(description = "货车距离矩阵(未向个人开发者开放)")
//	private String truckDistanceMatrix;
//
//	@Schema(description = "路况查询(未向个人开发者开放)")
//	private String traffic;

	@Schema(description = "ip定位")
	private String ip;

	@Schema(description = "静态地图")
	private String staticMap;

	@Schema(description = "坐标转换")
	private String locationTransformation;
}
